package com.tql.mall.model.customer;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tql.mall.model.base.BaseUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "顾客信息")
@TableName("customer")
public class Customer extends BaseUser {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "顾客昵称")
    @TableField("nick_name")
    private String nickName;

    @ApiModelProperty(value = "顾客姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "手机号")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    @TableField("email")
    private String email;

    @ApiModelProperty(value = "头像")
    @TableField("avatar")
    private String avatar;

    @ApiModelProperty(value = "顾客级别")
    @TableField("user_level")
    private String userLevel;


}
